// permissions 企业：4 机构 ：5
// validateEnterPark:true 需要验证入园才能访问
let menuList = [{
  id: 0,
  path: '/layout',
  name: '账户管理',
  component: 'layout',
  icon: "../../static/images/personal1.png",
  children: [
    { path: '/index', permissions: ["4", "5"], name: '我的通知', component: 'index' },
    { path: '/listdata', permissions: ["4", "5"], name: '企业资料', component: 'list' },
    // {path: '/companyproduct', permissions: ["4", "5"], name: '公司产品', component: 'companyProduct'},
    { path: '/myadvice', permissions: ["4", "5"], name: '我的建议', component: 'myAdvice', validateEnterPark: true },
    { path: '/changepassword', permissions: ["4", "5"], name: '修改密码', component: 'changePassword' },
  ]
}
  , {
  id: 1,
  path: '/layout',
  name: '招聘管理',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal2.png",
  children: [
    { path: '/postrecruitment', permissions: ["4", "5"], name: '发布招聘', component: 'governmentaffairs/postRecruitment', validateEnterPark: true },
  ]
},
{
  id: 2,
  path: '/layout',
  name: '需求管理',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal3.png",
  children: [
    { path: '/releasedemand', permissions: ["4"], name: '发布需求', component: 'demand/releaseDemand', validateEnterPark: true },
    { path: '/alreadyreleasedemand', permissions: ["4"], name: '已发布需求', component: 'demand/alreadyReleaseDemand', validateEnterPark: true },
    { path: '/bid', permissions: ["4"], name: '竞标管理', component: 'demand/bid', validateEnterPark: true },
  ]
}, {
  id: 3,
  path: '/layout',
  name: '服务管理',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal3.png",
  children: [

    { path: '/releaseservice', permissions: ["5"], name: '我要发布的服务', component: 'service/releaseService', validateEnterPark: true },
    { path: '/alreadyreleaseservice', permissions: ["5"], name: '已发布的服务', component: 'service/alreadyReleaseService', validateEnterPark: true },
  ]
}, {
  id: 4,
  path: '/layout',
  name: '招商管理',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal4.png",
  children: [
    { path: '/plantmanagement', permissions: ["4", "5"], name: '厂房意向管理', component: 'merchants/plantManagement', validateEnterPark: true },
    {
      path: '/publicrentalmanagement',
      permissions: ["4", "5"],
      name: '公租房意向管理',
      component: 'merchants/publicRentalManagement', validateEnterPark: true
    },
    { path: '/landmanagement', permissions: ["4", "5"], name: '土地意向管理', component: 'merchants/landManagement', validateEnterPark: true },
    { path: '/projectmanagement', permissions: ["4", "5"], name: '项目意向管理', component: 'merchants/projectManagement', validateEnterPark: true },
  ]
}, {
  id: 5,
  path: '/layout',
  name: '办理业务',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal5.png",
  children: [
    { path: '/servicehandle', permissions: ["5"], name: '服务办理', component: 'business/serviceHandle', validateEnterPark: true },
    { path: '/mineorder', permissions: ["4", "5"], name: '我的订单', component: 'business/mineOrder', validateEnterPark: true },
    { path: '/mineagencyapply', permissions: ["4", "5"], name: '我的代办申请', component: 'business/mineAgencyApply', validateEnterPark: true },
    // {path: '/minecomplaint', permissions: ["4", "5"], name: '我的投诉', component: 'business/mineComplaint'},
  ]
}, {
  id: 6,
  path: '/layout',
  name: '政务代办',
  component: '@/userCenter/layout',
  icon: "../../static/images/personal6.png",
  children: [
    { path: '/releaseagent', permissions: ["4", "5"], name: '发布代办', component: 'governmentaffairs/releaseAgent', validateEnterPark: true },
    { path: '/agencyservice', permissions: ["4", "5"], name: '我的代办', component: 'governmentaffairs/agencyService', validateEnterPark: true },
    // {path: '/talentservice', permissions: ["4", "5"], name: '人才服务', component: 'governmentaffairs/talentService'},
  ]
}]

export {
  menuList
}
